package com.tsing.pojo.entity;

import java.time.LocalDateTime;

public class ApArticle {

  private Long id;
  private String title;
  private Long authorId;
  private String authorName;
  private Long channelId;
  private String channelName;
  private Integer layout;
  private Integer flag;
  private String images;
  private String labels;
  private Long likes;
  private Long collection;
  private Long comment;
  private Long views;
  private Long provinceId;
  private Long cityId;
  private Long countyId;
  private LocalDateTime createdTime;
  private LocalDateTime publishTime;
  private Boolean syncStatus;
  private Integer origin;


  public ApArticle() {
  }

  public ApArticle(Long id, String title, Long authorId, String authorName, Long channelId, String channelName, Integer layout, Integer flag, String images, String labels, Long likes, Long collection, Long comment, Long views, Long provinceId, Long cityId, Long countyId, LocalDateTime createdTime, LocalDateTime publishTime, Boolean syncStatus, Integer origin) {
    this.id = id;
    this.title = title;
    this.authorId = authorId;
    this.authorName = authorName;
    this.channelId = channelId;
    this.channelName = channelName;
    this.layout = layout;
    this.flag = flag;
    this.images = images;
    this.labels = labels;
    this.likes = likes;
    this.collection = collection;
    this.comment = comment;
    this.views = views;
    this.provinceId = provinceId;
    this.cityId = cityId;
    this.countyId = countyId;
    this.createdTime = createdTime;
    this.publishTime = publishTime;
    this.syncStatus = syncStatus;
    this.origin = origin;
  }

  /**
   * 获取
   * @return id
   */
  public Long getId() {
    return id;
  }

  /**
   * 设置
   * @param id
   */
  public void setId(Long id) {
    this.id = id;
  }

  /**
   * 获取
   * @return title
   */
  public String getTitle() {
    return title;
  }

  /**
   * 设置
   * @param title
   */
  public void setTitle(String title) {
    this.title = title;
  }

  /**
   * 获取
   * @return authorId
   */
  public Long getAuthorId() {
    return authorId;
  }

  /**
   * 设置
   * @param authorId
   */
  public void setAuthorId(Long authorId) {
    this.authorId = authorId;
  }

  /**
   * 获取
   * @return authorName
   */
  public String getAuthorName() {
    return authorName;
  }

  /**
   * 设置
   * @param authorName
   */
  public void setAuthorName(String authorName) {
    this.authorName = authorName;
  }

  /**
   * 获取
   * @return channelId
   */
  public Long getChannelId() {
    return channelId;
  }

  /**
   * 设置
   * @param channelId
   */
  public void setChannelId(Long channelId) {
    this.channelId = channelId;
  }

  /**
   * 获取
   * @return channelName
   */
  public String getChannelName() {
    return channelName;
  }

  /**
   * 设置
   * @param channelName
   */
  public void setChannelName(String channelName) {
    this.channelName = channelName;
  }

  /**
   * 获取
   * @return layout
   */
  public Integer getLayout() {
    return layout;
  }

  /**
   * 设置
   * @param layout
   */
  public void setLayout(Integer layout) {
    this.layout = layout;
  }

  /**
   * 获取
   * @return flag
   */
  public Integer getFlag() {
    return flag;
  }

  /**
   * 设置
   * @param flag
   */
  public void setFlag(Integer flag) {
    this.flag = flag;
  }

  /**
   * 获取
   * @return images
   */
  public String getImages() {
    return images;
  }

  /**
   * 设置
   * @param images
   */
  public void setImages(String images) {
    this.images = images;
  }

  /**
   * 获取
   * @return labels
   */
  public String getLabels() {
    return labels;
  }

  /**
   * 设置
   * @param labels
   */
  public void setLabels(String labels) {
    this.labels = labels;
  }

  /**
   * 获取
   * @return likes
   */
  public Long getLikes() {
    return likes;
  }

  /**
   * 设置
   * @param likes
   */
  public void setLikes(Long likes) {
    this.likes = likes;
  }

  /**
   * 获取
   * @return collection
   */
  public Long getCollection() {
    return collection;
  }

  /**
   * 设置
   * @param collection
   */
  public void setCollection(Long collection) {
    this.collection = collection;
  }

  /**
   * 获取
   * @return comment
   */
  public Long getComment() {
    return comment;
  }

  /**
   * 设置
   * @param comment
   */
  public void setComment(Long comment) {
    this.comment = comment;
  }

  /**
   * 获取
   * @return views
   */
  public Long getViews() {
    return views;
  }

  /**
   * 设置
   * @param views
   */
  public void setViews(Long views) {
    this.views = views;
  }

  /**
   * 获取
   * @return provinceId
   */
  public Long getProvinceId() {
    return provinceId;
  }

  /**
   * 设置
   * @param provinceId
   */
  public void setProvinceId(Long provinceId) {
    this.provinceId = provinceId;
  }

  /**
   * 获取
   * @return cityId
   */
  public Long getCityId() {
    return cityId;
  }

  /**
   * 设置
   * @param cityId
   */
  public void setCityId(Long cityId) {
    this.cityId = cityId;
  }

  /**
   * 获取
   * @return countyId
   */
  public Long getCountyId() {
    return countyId;
  }

  /**
   * 设置
   * @param countyId
   */
  public void setCountyId(Long countyId) {
    this.countyId = countyId;
  }

  /**
   * 获取
   * @return createdTime
   */
  public LocalDateTime getCreatedTime() {
    return createdTime;
  }

  /**
   * 设置
   * @param createdTime
   */
  public void setCreatedTime(LocalDateTime createdTime) {
    this.createdTime = createdTime;
  }

  /**
   * 获取
   * @return publishTime
   */
  public LocalDateTime getPublishTime() {
    return publishTime;
  }

  /**
   * 设置
   * @param publishTime
   */
  public void setPublishTime(LocalDateTime publishTime) {
    this.publishTime = publishTime;
  }

  /**
   * 获取
   * @return syncStatus
   */
  public Boolean getSyncStatus() {
    return syncStatus;
  }

  /**
   * 设置
   * @param syncStatus
   */
  public void setSyncStatus(Boolean syncStatus) {
    this.syncStatus = syncStatus;
  }

  /**
   * 获取
   * @return origin
   */
  public Integer getOrigin() {
    return origin;
  }

  /**
   * 设置
   * @param origin
   */
  public void setOrigin(Integer origin) {
    this.origin = origin;
  }

  public String toString() {
    return "ApArticle{id = " + id + ", title = " + title + ", authorId = " + authorId + ", authorName = " + authorName + ", channelId = " + channelId + ", channelName = " + channelName + ", layout = " + layout + ", flag = " + flag + ", images = " + images + ", labels = " + labels + ", likes = " + likes + ", collection = " + collection + ", comment = " + comment + ", views = " + views + ", provinceId = " + provinceId + ", cityId = " + cityId + ", countyId = " + countyId + ", createdTime = " + createdTime + ", publishTime = " + publishTime + ", syncStatus = " + syncStatus + ", origin = " + origin + "}";
  }
}
